Write a function to compute the number of combinations that make up that amount. You may assume that you have infinite number of each kind of coin.
编写函数计算要得到目标金额,有多少种不同的硬币组合方式。
Write a function to compute the fewest number of COINS that you need to make up that amount.
编写函数计算凑齐金额总值最少需要的硬币数目。
应用推荐